package com.inspur.gs.sbssdl.sbwhgl.sbwhby.sbwhby.front.newsbbyjh_frm.voactions;


import java.io.Serializable;
import java.time.LocalDate;

public class Device implements Serializable {
    private static final long serialVersionUID = 1L;

       private String sbId;
       private String sbmc;
       private String sbbh;
       private String ggxh;
       private String xh;
       private String shopName;
       private String sbbhOld;
       private String lbmc;
       private String lbbh;
       private String ztmc;
       private String ztbh;
       private String abcbh;
       private String abcmc;
       private String bmbh;
       private String bmmc;
       private LocalDate useDate;
       private boolean needsFirstMaint;  // 是否需要一保
       private boolean needsSecondMaint; // 是否需要二保

        // 构造函数：根据所有字段初始化
        public Device(String sbId, String sbmc, String sbbh, String ggxh, String xh,
                      String shopName, String sbbhOld, String lbmc, String lbbh,
                      String ztmc, String ztbh, String abcbh, String abcmc,
                      String bmbh, String bmmc,LocalDate useDate, boolean needsFirstMaint, boolean needsSecondMaint) {
            this.sbId = sbId;
            this.sbmc = sbmc;
            this.sbbh = sbbh;
            this.ggxh = ggxh;
            this.xh = xh;
            this.shopName = shopName;
            this.sbbhOld = sbbhOld;
            this.lbmc = lbmc;
            this.lbbh = lbbh;
            this.ztmc = ztmc;
            this.ztbh = ztbh;
            this.abcbh = abcbh;
            this.abcmc = abcmc;
            this.bmbh = bmbh;
            this.bmmc = bmmc;
            this.useDate = useDate;
            this.needsFirstMaint = needsFirstMaint;
            this.needsSecondMaint = needsSecondMaint;
        }


    public LocalDate getUseDate() {
        return useDate;
    }

    public void setUseDate(LocalDate useDate) {
        this.useDate = useDate;
    }

    public String getSbId() {
        return sbId;
    }

    public void setSbId(String sbId) {
        this.sbId = sbId;
    }

    public String getSbmc() {
        return sbmc;
    }

    public void setSbmc(String sbmc) {
        this.sbmc = sbmc;
    }

    public String getSbbh() {
        return sbbh;
    }

    public void setSbbh(String sbbh) {
        this.sbbh = sbbh;
    }

    public String getGgxh() {
        return ggxh;
    }

    public void setGgxh(String ggxh) {
        this.ggxh = ggxh;
    }

    public String getXh() {
        return xh;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getSbbhOld() {
        return sbbhOld;
    }

    public void setSbbhOld(String sbbhOld) {
        this.sbbhOld = sbbhOld;
    }

    public String getLbmc() {
        return lbmc;
    }

    public void setLbmc(String lbmc) {
        this.lbmc = lbmc;
    }

    public String getLbbh() {
        return lbbh;
    }

    public void setLbbh(String lbbh) {
        this.lbbh = lbbh;
    }

    public String getZtmc() {
        return ztmc;
    }

    public void setZtmc(String ztmc) {
        this.ztmc = ztmc;
    }

    public String getZtbh() {
        return ztbh;
    }

    public void setZtbh(String ztbh) {
        this.ztbh = ztbh;
    }

    public String getAbcbh() {
        return abcbh;
    }

    public void setAbcbh(String abcbh) {
        this.abcbh = abcbh;
    }

    public String getAbcmc() {
        return abcmc;
    }

    public void setAbcmc(String abcmc) {
        this.abcmc = abcmc;
    }

    public String getBmbh() {
        return bmbh;
    }

    public void setBmbh(String bmbh) {
        this.bmbh = bmbh;
    }

    public String getBmmc() {
        return bmmc;
    }

    public void setBmmc(String bmmc) {
        this.bmmc = bmmc;
    }

    public boolean isNeedsFirstMaint() {
        return needsFirstMaint;
    }

    public void setNeedsFirstMaint(boolean needsFirstMaint) {
        this.needsFirstMaint = needsFirstMaint;
    }

    public boolean isNeedsSecondMaint() {
        return needsSecondMaint;
    }

    public void setNeedsSecondMaint(boolean needsSecondMaint) {
        this.needsSecondMaint = needsSecondMaint;
    }

    @Override
        public String toString() {
            return "Device{" +
                    "sbId='" + sbId + '\'' +
                    ", sbmc='" + sbmc + '\'' +
                    ", sbbh='" + sbbh + '\'' +
                    ", ggxh='" + ggxh + '\'' +
                    ", xh='" + xh + '\'' +
                    ", shopName='" + shopName + '\'' +
                    ", sbbhOld='" + sbbhOld + '\'' +
                    ", lbmc='" + lbmc + '\'' +
                    ", lbbh='" + lbbh + '\'' +
                    ", ztmc='" + ztmc + '\'' +
                    ", ztbh='" + ztbh + '\'' +
                    ", abcbh='" + abcbh + '\'' +
                    ", abcmc='" + abcmc + '\'' +
                    ", bmbh='" + bmbh + '\'' +
                    ", bmmc='" + bmmc + '\'' +
                    ", needsFirstMaint=" + needsFirstMaint +
                    ", needsSecondMaint=" + needsSecondMaint +
                    '}';
        }


}